package org.jeecg.modules.xmss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.xmss.entity.XmssTowns;

import java.io.Serializable;
import java.util.Collection;

/**
 * @Description: 乡镇信息表-公众号标识
 * @Author: jeecg-boot
 * @Date:   2020-09-18
 * @Version: V1.0
 */
public interface IXmssTownsService extends IService<XmssTowns> {

	/**
	 * 添加一对多
	 *
	 */
	public void saveMain(XmssTowns xmssTowns) ;

	/**
	 * 修改一对多
	 *
	 */
	public void updateMain(XmssTowns xmssTowns);

	/**
	 * 删除一对多
	 */
	public void delMain(String id);

	/**
	 * 批量删除一对多
	 */
	public void delBatchMain(Collection<? extends Serializable> idList);

	XmssTowns selectTownsByPublicOpenId(String publicOpenId);
}
